Ext.define('passport.store.SysMenuStore', {
    extend: 'Ext.data.Store',
    alias: 'widget.sysMenuStore',
    storeId: 'sysMenuStore',
    model: 'passport.model.SysMenuModel',
    pageSize: 5,
    autoLoad: true,
    proxy: {
        api: 
        {
        	read: 'http://192.168.1.116/RpcService/Gateway.ashx?module=product&action=SysMenu&method=get',
        	update: 'http://192.168.1.116/RpcService/Gateway.ashx?module=product&action=SysMenu&method=save',
        	destroy: 'http://192.168.1.116/RpcService/Gateway.ashx?module=product&action=SysMenu&method=delete'
        },
        type: 'jsonp',
        reader: {
            type: 'json',
            root: 'root',
            successProperty: 'success',
            totalProperty: 'total'
        },
        writer: {
        		type: 'xml'
        }
    }
});
